/**
 * Package	: com.coship.adstorm.dao
 * File		: PositionBasicInfoDao.java
 * Company 	: Shenzhen Coship Electronics CO., LTD.
 * Version  : v1.0
 * Description 	: <Detail Description for package>
 *
 * Copyright (c) 2003-2009 Shenzhen Coship Electronics CO., LTD.
 * Rainbow Bldg.,North,Hi-Tech Industrial Park,Nanshan District,Shenzhen,China,P.C.518057.
 * All rights reserved.
 * The contents of this file are confidential and proprietary to COSHIP.
 * Copying is explicitly prohibited without the express permission of COSHIP.
 *
 * Create Date	: Apr 23, 2010
 * Create By    : 904120
 * History :$
 */
package com.coship.vasms.adstorm.dao;

import com.coship.vasms.adstorm.model.PositionBasicInfo;

/**
 * 
 * File Name : PositionBasicInfoDao.java
 * 
 * @Description : 广告位基本信息DAO
 * @author 904120
 */
public interface PositionBasicInfoDao {
	/**
	 * 
	 * Description : 新增广告位基本信息
	 * 
	 * @param basicinfo
	 * 
	 */
	void insertPositionBasicInfo(PositionBasicInfo basicinfo);

	/**
	 * 
	 * Description : 更新广告位基本信息
	 * 
	 * @param basicinfo
	 * @return
	 * 
	 */
	int updatePositionBasicInfo(PositionBasicInfo basicinfo);

	/**
	 * 
	 * Description : 删除广告位基本信息
	 * 
	 * @param positionBasicInfoId
	 * 
	 */
	int deletePositionBasicInfo(PositionBasicInfo basicinfo);
	

	/**
	 * 
	 * Description : 查询广告位基本信息
	 * 
	 * @param positionBasicInfoId
	 * @return
	 * 
	 */
	PositionBasicInfo query(int positionBasicInfoId);

	/**
	 * 
	 * Description : 根据名称查询广告位基本信息
	 * 
	 * @param basicinfo
	 * @return
	 * 
	 */
	PositionBasicInfo queryByName(PositionBasicInfo basicinfo);

	/**
	 * 
	 * Description : 根据条件统计数据总数
	 * 
	 * @param basicCode
	 * @return
	 * 
	 */
	int countPositionBasicByCondition(PositionBasicInfo basicinfo);

}
